    h1 {text-align: center;}
    h2 {text-align: center;}
    h3 {text-align: left;}
    h5 {text-align: right;}
    p {text-align: center;}
    h4 {text-align: center;}
    div {text-align: center;}

    

    .box1 {
      display: flex;
      justify-content: center;
      background-color: white;
      text-align: center;
      border-radius: 10px;
      width:fit-content;
      margin: 0 auto;
      max-width: 90%;
      word-wrap: break-word;
      box-sizing: border-box;
    }

    .box2 {
      position: center;
      justify-content: center;
      background-color: black;
      width: fit-content;
      border-radius: 10px;
    }

    .box3 {
      background-color: lightblue;
      width: fit-content;
      display: flex;
    }

    .box4 {
      background-color: rgba(255, 218, 165, 1);
      width: fit-content;
      text-align: center;
      max-width: 90%;
      padding: 1px;
      border-radius: 20px;
    }

    .garfcontainer {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      width: fit-content;
      gap: 30rem;
    }

    .garfshow, .garfpanels {
      flex: 1;
      min-width: 400px;
    }

    @media screen and (max-with: 600px) {
      .garfcontainer {
        flex-direction: column;
      }
    }

    article {
      -webkit-flex: 3;
      -ms-flex: 3;
      flex: 3;
      background-color: #f1f1f1;
      padding: 10px;
    }

    /*.skellybones {
      background-image: url('https://runescape.wiki/images/thumb/Skeleton_warrior_%28Ancient_Awakening%29.png/800px-Skeleton_warrior_%28Ancient_Awakening%29.png?3eb35');
      background-size: 250px;
      background-repeat: no-repeat;
      background-position:85% ;
    }*/

    mark {
      background-color: blue;
      color: black;
      width: fit-content;
    }

    nav {
      float: left;
      width: 30%;
      height: 300px;
      background: #ccc;
      padding: 20px;
      }

    

/*stela af Stefáni hehehe*/
.navbar {
	width: 100%;
	background-color: #5e5e5e;
	overflow: auto;
	top:0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.navbar a {
  float: left;
  text-align: center;
  padding: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
}
.navbar a:hover {
  background-color: #000000;
}
.active {
  background-color: #f10000;
}

@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
  }
}

a {
	text-align: center;
}



 #video-container {
      margin-top: 20px;
    }

    iframe {
      width: 560px;
      height: 315px;
      border: none;
      border-radius: 10px;
      max-width: 90%; /* makes it responsive on phones */
    }

    button {
      background-color: #f10000;
      color: white;
      border: none;
      padding: 10px 20px;
      font-size: 18px;
      border-radius: 5px;
      cursor: pointer;
    }

    button:hover {
      background-color: #c00000;
    }


   
    #rndImg {
      max-width: 500px;
      min-width: 500px;
      height: auto;
      border: 2px solid #000;
      border-radius: 5px;
    }

    #rndBtn {
      margin-top: 15px;
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #f10000;
      color: #fff;
      border: none;
      border-radius: 5px;
    }

    #rndBtn:hover {
      background-color: #c00000;
    }


    #text-display {
      max-width: 600px;
      margin: 30px auto;
      padding: 20px;
      background: #f8f8f8;
      border-radius: 10px;
      white-space: pre-wrap; /* keeps your line breaks */
      font-family: 'Georgia', serif;
      font-size: 18px;
      line-height: 1.6;
    }